import request from "@/axios";

// 查询企业ca认证状态
export const getcompanycaauthstate = option =>
  request({
    url: "/api/esign/getcompanycaauthstate",
    method: "get",
    params: option
  });

// 获取企业信息
export const getcompanyinfo = option =>
  request({
    url: "/api/esign/getcompanyinfo",
    method: "get",
    params: option
  });

// 创建企业签署账号
export const createcasignaccount = option =>
  request({
    url: "/api/esign/createcasignaccount",
    method: "post",
    data: option
  });
